#!/usr/bin/env node
let userName = process.argv[2],
password = process.argv[3];
console.log('user name:', userName);
console.log('password:', password);

const msg = `${userName}:${password}`;
console.log('msg:',msg);

const buf = Buffer.from(msg);
console.log('base64:',buf.toString('base64'));

// const buf2 = Buffer.from(base64,'base64');
// console.log(buf2.toString('utf8'));


